<?php

class Tes_unit_kerja extends CI_Controller {
    
    public function __construct() {
        parent::__construct();
        $this->load->model('Unit_kerja');
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_unit_kerja/lacakan_surat
    public function lacakan_surat() {
        $this->Unit_kerja->pelacakan_surat("12345");
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_unit_kerja/registrasi
    public function registrasi() {
        $this->Unit_kerja->registrasi_user("DENY PTW");
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_unit_kerja/login
    public function login() {
        $this->Unit_kerja->login_user("12345/deny");
    }
    
}

?>
